package com.example.dmallOrder.config.DmallConfig;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor

public enum DmallConstant {
    // 定义枚举常量
    TOKEN_SERVER_URL("tokenServerUrl", "https://auth.dmall.com/auth/authToken/getTokenNew"),
    REFRESH_TOKEN_NEW_URI("tokenServerUrl", "https://auth.dmall.com/oauth/refresh_token_new"),
//    APP_KEY("appKey", "ffa69ae4c7a14498a2525cfd8abafbbf"),
    APP_KEY("appKey", "e2da61c6ee844eaeb654300822f6c900"),
//    APP_SECRET("appSecret", "423240471869F070570D33A1177C4D32"),
    APP_SECRET("appSecret", "8E636A0768E9559F70F406481378FAF6"),
//    CODE("code", "8B052593910DBD05C5CEB772A9334E0B"),
    CODE("code", "E6FF1A0C19968210C6E225148A8C90A3"),
    DMALL_TRADE_ORDER_INFO_GET_SERVER_URL("dmallTradeOrderInfoGetServerUrl","https://open-api.dmall.com"),
    DMALL_BOFC_BIZ_OUTBOUND_REQ_URL("dmallBofcBizOutboundReqUrl","https://open-api.dmall.com/bofc/biz/OutboundReq"),
    ;

    // 枚举类的属性
    private  String key;
    private  String value;
}
